package business.ddz.c2s.iclass;

import jsproto.c2s.cclass.BaseSendMsg;

import java.util.ArrayList;

/**
 * 状态改变
 */
public class SDDZ_ChangeStatus extends BaseSendMsg {

    public long roomID;
    public int state;  //位置
    public int opPos;//操作位
    public int roomDouble;//底牌倍数
    public ArrayList<Integer> holeCards;//底牌
    public int landowner;//地主 -1没有确定地主
    public ArrayList<Integer> addDoubleList;//加倍 -1:没有操作 0:不加倍 1:加倍

    public static SDDZ_ChangeStatus make(long roomID,int state, int opPos, int roomDouble,ArrayList<Integer> holeCards,int landowner,ArrayList<Integer> addDoubleList) {
        SDDZ_ChangeStatus ret = new SDDZ_ChangeStatus();
        ret.roomID = roomID;
        ret.state = state;
        ret.opPos = opPos;
        ret.roomDouble = roomDouble;
        ret.holeCards = holeCards;
        ret.landowner = landowner;
        ret.addDoubleList = addDoubleList;
        return ret;
    }
}
